import * as React from 'react';
import Header from '@/commonComponents/header/Header';
import useAuth from '@/utils/hooks/useAuth';
import FinishContent from './components/finishContent/index';
import './index.module.scss';
import { useNavigate } from 'react-router-dom';
// import type { userInfo } from './types';

const { useEffect, memo, useState } = React;

function OrderPay() {
  const { back } = useAuth();
  return (
    <div>
      <Header
        title={` `}
        onBack={back}
        style={{
          background: '#fff',
          color: '#333',
        }}
        type={1}
      />
      <FinishContent />
    </div>
  );
}

export default memo(OrderPay);
